package cn.tedu.oop2;

public class Swallow extends Insect implements FlyAniaml {
    @Override
    public void fly() {
        System.out.println("燕子飞的挺高的");
    }
    public void Spawn(){
        System.out.println("燕子能产"+eggNumber+"颗卵");
    }
    public static void nest(){
        System.out.println("燕子在筑巢");
    }
}
